import Vue from "vue";

import "normalize.css/normalize.css"; // A modern alternative to CSS resets

import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

import "@/styles/index.scss"; // global css

import App from "./App";
//仓库
import store from "./store";
//路由
import router from "./router";

import "@/icons"; // icon

import "@/permission"; // permission control
//echarts图表
import echarts from 'echarts'
//rem自适应
import FlexiblePlugin from '@/assets/js/flexible'

Vue.prototype.$echarts = echarts

Vue.use(ElementUI);

Vue.use(FlexiblePlugin);

Vue.config.productionTip = false;


new Vue({
  el: "#app",
  router,
  store,
  render: (h) => h(App),
});
